    <?php 
        $function=$viewModel->get('function');
     ?>
    <div class="container-fluid" style="width:97%">
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <h2>Sửa chức năng</h2>
            <hr>
            <form enctype="multipart/form-data" action="" method="post">
            <div class="col-md-6">
                <div class="panel panel-default">
                  <div class="panel-heading">Thông tin chức năng</div>
                    <div class="panel-body">
                    <div class="form-group">
                    <label class="label-control" for="tennhom">Tên chức năng</label>
                    <input type="text" class="form-control" name="TenChucNang" id="tennhom" value="<?php echo $function->TenChucNang; ?>">
                    </div>
                     <div class="form-group">
                    <label class="label-control" for="mota">Mô tả</label>
                    <textarea class="form-control" name="MoTa" id="mota"><?php echo $function->MoTa;?></textarea>
                    </div>
                  </div>
                </div>
            </div>
            <div class="form-group form-inline clear col-md-offset-2">
                <button name="save" type="submit" class="btn btn-success form-control">Lưu</button>
                <button class="btn btn-warning form-control">Hủy</button>
            </div>
            </form>
    </div>
    </div>

